from frame.common.base.test_data_by_excel import TestDataByExcel


# 根据路径获取测试数据工具类
# 这里打算用接口模式的，看了下python并不跟java一样会有一个接口类
class TestDataUtil(TestDataByExcel):
    def __init__(self, get_type=None):
        super().__init__()

    def get_test_data(self, test_data_path):
        return self.get_test_data_by_excel(test_data_path)


if __name__ == '__main__':
    excelData = TestDataUtil()
    # case_info = excelData["case_info"]
    print(excelData.get_test_data_by_excel("E:\\Python_workspace\\auto_test\\test_case\\case\\ui\\b_login_test.xlsx"))
